<!--{include wap_header}-->
<body id="buy">
<script src="/static/js/jquery-1.3.2.js" type="text/javascript"></script>
            <header class="">
          
                <h1>下单 • <a href="javascript:history.back()">返回</a></h1>
            </header>
        <div class="body">
  <form action="buy.php?id={$team['id']}" method="post" >
<input type="hidden" name="id" value="{$team['id']}" />{$one['name']}

  <section class="common-items">
            <div class="common-item">
                <label class="item-label">项目：</label>
                <div class="item-content">
                <!--${$partner_id = $team['partner_id'];$partner = Table::Fetch('partner',$partner_id);}-->
               {$partner['title']}${mb_strimwidth($team['title'],0, 30,'...')} </div>
            </div>

            <div class="common-item">
                <label class="item-label">单价：</label>
                <div class="item-content">{$currency}${moneyit($team['team_price'])}
                </div>
            </div>

                <div class="common-item">
                    <label class="item-label">数量：</label>                    <div class="item-content"><input  style="width:28px; min-width:28px;" type="text" name="quantity" value="1" ${$team['per_number']==1 ? 'readonly':''} /></div>
                </div>

			<!--{if is_array($team['condbuy']) && !empty($team['condbuy'][0])}-->
			<div class="common-item">
			<label class="item-label">订购选择：</label>
				<!--{loop $team['condbuy'] $index $one}-->
				<select name="condbuy[]" class="f-input" require="true" datatype="require" style="width:auto;"><option value="">请选择</option>${Utility::Option(array_combine($one, $one), 'condbuy')}</select>
				<!--{/loop}-->
			</div>
			<!--{/if}-->
            </section>

            <!--{if $team['delivery']=='express'}-->
            <div class="common-title" id="mobile-title">
                        <h3>配送地址</h3>
                    </div>
             <section class="common-items">

             <div class="common-item">
                <label class="item-label">收件人：</label>
                <div class="item-content"><input type="text" name="realname" id="settings-realname" class="f-input" value="{$login_user['realname']}" />
                </div>
            </div>

            <div class="common-item">
                <label class="item-label">手机号：</label>
                <div class="item-content"><input type="text" name="mobile" id="settings-mobile" class="number" value="{$login_user['mobile']}" maxLength="11" style="width:95px; min-width:95px;" />
                </div>
            </div>

       <div class="common-item">
                <label class="item-label">邮编：</label>
                <div class="item-content"><input type="text" name="zipcode" id="settings-mobile" class="number" value="{$login_user['zipcode']}" maxLength="6" style="width:85px; min-width:85px;" />
                </div>
            </div>


             <div class="common-item">
                <label class="item-label">收件地址：</label>
                <div class="item-content"><input type="text" name="address" id="settings-address" style="display:block; width:auto;" class="f-input" value="{$login_user['address']}"/>
                </div>
            </div>

              </section>
             <!--{else}-->



                    <div class="common-title" id="mobile-title">
                        <h3>当前手机号码</h3>
                    </div>
                    <section class="common-items" id="mobile-show">
                        <div class="common-item">
                            <label class="item-label">手机号码：</label>
                            <div class="item-content"><input type="text" size="30" name="mobile" id="settings-mobile" class="number" value="{$login_user['mobile']}" require="true" datatype="mobile" maxLength="11" style="width:100px; min-width:95px;" /></div>
                        </div>
                        <!--{/if}-->
                    </section>




            <section class="submit-box"><p class="c-submit "><input type="hidden" name="id" value="{$order['id']}" /><input type="submit" class="formbutton" name="buy" value="确认无误，购买"/>



            </p>
            </section>
        </form></div>

<!--{include wap_footer}-->
